<admintpl file="header" />
</head>
<body>
    <div class="wrap">
        <ul class="nav nav-tabs">
            <li class="active"><a href="{:U('ConstructionProgress/distribution')}">分配审核权限</a></li>
            <li><a href="{:U('ConstructionProgress/index')}">设备材料报审表管理</a></li>
        </ul>
        <form method="post" class="form-horizontal" action="{:U('ConstructionProgress/add_distribution')}">
            <div class="form-group">
                <label class="col-md-2 control-label">请选择编辑权用户</label>
                <input type="hidden" name="code_id" value="{:I('get.id')}"></input>
                <input type="hidden" name="level" value="{$level}"></input>
                <div class="col-md-6 EditAuthList">
                    <!--<foreach name="users" item="u">
                        <input type="checkbox" name="check1[]" value="{$u.id}">{$u.real_name}</input>
                    </foreach>-->
					<foreach name="users" item="u">
						<label style="margin-left: 20px" for="bj_{$u.id}">
                            <input
                            <if condition="$u['is_check_2'] eq 1 ">checked
                                <else />
                            </if>
                                    type="checkbox" name="check1[]" id="bj_{$u.id}" value="{$u.id}"/>{$u.real_name}</label>
                    </foreach>
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-2 control-label">请选择审核权用户</label>
                <div class="col-md-6 ExamineAuthList">
                    <!--<foreach name="users" item="u">
                        <input type="checkbox" name="check2[]" value="{$u.id}"/>{$u.real_name}
                    </foreach>-->
					<foreach name="users" item="u">
						<label style="margin-left: 20px" for="sh_{$u.id}">
                            <input
                            <if condition="$u['is_check_3'] eq 1 ">checked
                                <else />
                            </if>
                                    type="checkbox" name="check2[]" id="sh_{$u.id}" value="{$u.id}"/>{$u.real_name}</label>
                    </foreach>
                </div>
            </div>
            <div class="form-actions col-md-10 col-md-offset-2">
                <button type="submit" class="btn btn-primary js-ajax-submit">{:L('SAVE')}</button>
                <a class="btn btn-default" href="javascript:history.back(-1);">{:L('BACK')}</a>
            </div>
        </form>
    </div>
    <script src="__PUBLIC__/js/common.js"></script>
    <script type="text/javascript">
       
		// 功能信息Json
		var subfunction = {$auditJson};
		var deptJson = {$departmentJson};
	</script>
    <script type="text/javascript" src="__TMPL__Public/assets/js/admin/flychecked.js"></script>
    <script type="text/javascript" src="__TMPL__Public/assets/js/admin/auditflow.js"></script>
</body>
</html>